<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>预解析</title>
</head>
<body>
    <script>
        console.log(num);
        var num = 10;
    </script>
</body>
</html>